﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("GoodsMove", "GoodsMove", new string[] { "GOODSMOVEID" })]
    [KnownType(typeof(GoodsMove))]
    public class GoodsMove : MB.Orm.Common.BaseModel
    {
        public GoodsMove()
        {
        }

        private string _GOODSMOVEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSMOVEID", System.Data.DbType.String)]
        public string GOODSMOVEID
        {
            get { return _GOODSMOVEID; }
            set { _GOODSMOVEID = value; }
        }

        private DateTime _MOVEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MOVEDATE", System.Data.DbType.DateTime)]
        public DateTime MOVEDATE
        {
            get { return _MOVEDATE; }
            set { _MOVEDATE = value; }
        }

        private string _MOVETYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MOVETYPE", System.Data.DbType.String)]
        public string MOVETYPE
        {
            get { return _MOVETYPE; }
            set { _MOVETYPE = value; }
        }

        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }

        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }

        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }

        private string _CELLNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CELLNO", System.Data.DbType.String)]
        public string CELLNO
        {
            get { return _CELLNO; }
            set { _CELLNO = value; }
        }

        private string _FLAG;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FLAG", System.Data.DbType.String)]
        public string FLAG
        {
            get { return _FLAG; }
            set { _FLAG = value; }
        }

        private string _CREATOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATOR", System.Data.DbType.String)]
        public string CREATOR
        {
            get { return _CREATOR; }
            set { _CREATOR = value; }
        }

        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }

        private string _EDITOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITOR", System.Data.DbType.String)]
        public string EDITOR
        {
            get { return _EDITOR; }
            set { _EDITOR = value; }
        }

        private DateTime _EDITDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITDATE", System.Data.DbType.DateTime)]
        public DateTime EDITDATE
        {
            get { return _EDITDATE; }
            set { _EDITDATE = value; }
        }

        private string _REMARK;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REMARK", System.Data.DbType.String)]
        public string REMARK
        {
            get { return _REMARK; }
            set { _REMARK = value; }
        }
    }
}

